﻿using AutoMapper;
using BW.EatRabbit.API.Application.Commands;
using BW.EatRabbit.API.Application.Commands.Breeding;
using BW.EatRabbit.API.Application.Commands.Immune;
using BW.EatRabbit.Domain;

namespace BW.EatRabbit.API
{
    /// <summary>
    /// 映射轮廓
    /// </summary>
    public class MappingProfile:Profile
    {
        public MappingProfile() 
        {
            CreateMap<BasicInformationUpdateCommand,BasicInformation>();
            CreateMap<BasicInformationDeleteCommand, BasicInformation>();
            CreateMap<BreedingCreateCommand,Breeding_Information>();
            CreateMap<ImmuneCreateCommand,Immune_Information>();

        }
    }
}
